package com.ruoyi.project.cha.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 收费查询对象 hos_inq
 * 
 * @author 朱鑫博
 * @date 2021-03-24
 */
public class HosInq extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    private Long inqNum;

    /** 挂号单号 */
    @Excel(name = "挂号单号")
    private Long inqReg;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String inqName;

    /** 金额 */
    @Excel(name = "金额")
    private Long inqMony;

    /** 支付类型 */
    @Excel(name = "支付类型")
    private String inqType;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String status;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTim;

    public void setInqNum(Long inqNum) 
    {
        this.inqNum = inqNum;
    }

    public Long getInqNum() 
    {
        return inqNum;
    }
    public void setInqReg(Long inqReg) 
    {
        this.inqReg = inqReg;
    }

    public Long getInqReg() 
    {
        return inqReg;
    }
    public void setInqName(String inqName) 
    {
        this.inqName = inqName;
    }

    public String getInqName() 
    {
        return inqName;
    }
    public void setInqMony(Long inqMony) 
    {
        this.inqMony = inqMony;
    }

    public Long getInqMony() 
    {
        return inqMony;
    }
    public void setInqType(String inqType) 
    {
        this.inqType = inqType;
    }

    public String getInqType() 
    {
        return inqType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUpdateTim(Date updateTim) 
    {
        this.updateTim = updateTim;
    }

    public Date getUpdateTim() 
    {
        return updateTim;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inqNum", getInqNum())
            .append("inqReg", getInqReg())
            .append("inqName", getInqName())
            .append("inqMony", getInqMony())
            .append("inqType", getInqType())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTim", getUpdateTim())
            .append("remark", getRemark())
            .toString();
    }
}
